
export 'src/bean/bean.dart' show AppleAudioConfiguration;
export 'src/enums/enums.dart';

import 'src/bean/bean.dart';
import 'src/platform_interface/av_audio_session_platform_interface.dart';

class AvAudioSession {
  AvAudioSession._();

  static AvAudioSessionPlatform get _instance => AvAudioSessionPlatform.instance;

  static Future<String?> getPlatformVersion() {
    return _instance.getPlatformVersion();
  }

  static Future<bool> setAppleAudioConfiguration({
    required AppleAudioConfiguration configuration
  }) {
    return _instance.setAppleAudioConfiguration(
      configuration: configuration
    );
  }
}
